﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Bot.Domain
{
    public class BusinessException : Exception
    {
        public BusinessException(ErrorInfo errorInfo) : base(errorInfo.Message)
        {
            ErrorInfo = errorInfo;
        }

        public ErrorInfo ErrorInfo { get; set; }
    }
}
